package com.atguigu.dao;

import com.atguigu.bean.TravelGroup;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TravelGroupMapper {

    void add(TravelGroup travelGroup);

    List<TravelGroup> findPage(@Param("query") String queryString);

    void delete(Integer id);

    TravelGroup findById(Integer id);

    void edit(TravelGroup travelGroup);

    List<TravelGroup> findAll();

    List<TravelGroup> findTravelGroupListById(Integer id);

}
